package com.example.springiocdemo.configuration;

import com.example.springiocdemo.entity.UserInfo;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BeanConfi {
    @Bean
    public UserInfo userInfo(){

        return new UserInfo("張三",15,10);
    }
}
